package com.heima.apis.use;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-user")
@RequestMapping("/client/user")
public interface IUseClient {

    @GetMapping("/findById")
    public ResponseResult  findById(@RequestParam("useId") Integer useId);
}
